import { createRouter, createWebHashHistory } from 'vue-router';  
import Button from '../views/Button.vue'
const routes = [  
  {  
    path: '/button',  
    name: 'button',   
    component: Button  
  }
  // 可以添加更多路由  
];  
  
const router = createRouter({  
  history: createWebHashHistory(),  
  routes  
});  
  
export default router;